home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
H191.ZIP
/
CA29-4.EXE
/
VOICEOFF.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-06-10
|
1KB
|
35 lines
S29 = "VoiceOFF ver 1.1 " ; 20 chars long
LEGEND S29
;
; ----- VoiceOFF Scripted interface to VOICE.EXE: Turn VOICE OFF
;
; This script may be manually invoked, or automatically at the
; termination of COM-AND (via SET EXIT <scriptname>. It also
; may be FCALLed.
;
; R.McG; 3/90, Chicago
; ----------------------------------------------------------------
; Usages:
; S29 -----> Legend line
;
; -----------------------------------------------------------------------
; NOTE: This script terminates the previously loaded overlay
; -----------------------------------------------------------------------
;
; Set-up the overlay (our interface to VOICE.EXE).
;
IF FIND "_OVER" "talker." ; If overlay loaded is TALKER
SCALL 9 ; Entry addr 9 -> Close voice driver
MESS "!Voice driver off!" ; Inform...
ENDIF ; Clears VOICE.EXE if loaded by script
OVERLAY CLEAR ; Clear any overlay
;
; Clear any exit script set
;
SET EXIT "" ; Clear pending exit script
;
; Otherwise, manually invoked
;
IF FCALLED FRET ; Return if called
EXIT ; Else stop script